package com.campus_information_portal.entity;

import com.campus_information_portal.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

/**
 * @author 20155883 万珊
 * @description 党支部-党支部成员-学生关联类
 * @project_name PartyMemberParty
 * @package com.campus_information_portal.entity
 * @create 2018-05-12 16:44
 **/
public class PartyMemberPartyStudent {
    private Integer partyMemberId;
    private Integer partyInfoId;
    private Integer teInfoId;
    private Integer stuInfoId;
    private Integer partyMemberAccount;
    private String partyMemberName;
    private Integer partyMemberType;
    private Integer partyOrganizationNum;
    @JsonSerialize(using = DateJsonType.class)
    private Date applyDate;
    private Integer state;

    private String partyName;
    @JsonSerialize(using = DateJsonType.class)
    private Date partyFoundTime;
    private String partyDescription;

    private Integer stuNum;
    private String stuName;
    private int stuSex;
    private Integer stuGrade;
    @JsonSerialize(using = DateJsonType.class)
    private Date stuBirthday;
    private String stuNativeplace;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getStuBirthday() {
        return stuBirthday;
    }

    public void setStuBirthday(Date stuBirthday) {
        this.stuBirthday = stuBirthday;
    }

    public String getStuNativeplace() {
        return stuNativeplace;
    }

    public void setStuNativeplace(String stuNativeplace) {
        this.stuNativeplace = stuNativeplace;
    }

    public int getStuSex() {
        return stuSex;
    }

    public void setStuSex(int stuSex) {
        this.stuSex = stuSex;
    }

    public Integer getPartyMemberId() {
        return partyMemberId;
    }

    public void setPartyMemberId(Integer partyMemberId) {
        this.partyMemberId = partyMemberId;
    }

    public Integer getPartyInfoId() {
        return partyInfoId;
    }

    public void setPartyInfoId(Integer partyInfoId) {
        this.partyInfoId = partyInfoId;
    }

    public Integer getTeInfoId() {
        return teInfoId;
    }

    public void setTeInfoId(Integer teInfoId) {
        this.teInfoId = teInfoId;
    }

    public Integer getStuInfoId() {
        return stuInfoId;
    }

    public void setStuInfoId(Integer stuInfoId) {
        this.stuInfoId = stuInfoId;
    }

    public Integer getPartyMemberAccount() {
        return partyMemberAccount;
    }

    public void setPartyMemberAccount(Integer partyMemberAccount) {
        this.partyMemberAccount = partyMemberAccount;
    }

    public String getPartyMemberName() {
        return partyMemberName;
    }

    public void setPartyMemberName(String partyMemberName) {
        this.partyMemberName = partyMemberName;
    }

    public Integer getPartyMemberType() {
        return partyMemberType;
    }

    public void setPartyMemberType(Integer partyMemberType) {
        this.partyMemberType = partyMemberType;
    }

    public Integer getPartyOrganizationNum() {
        return partyOrganizationNum;
    }

    public void setPartyOrganizationNum(Integer partyOrganizationNum) {
        this.partyOrganizationNum = partyOrganizationNum;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getPartyName() {
        return partyName;
    }

    public void setPartyName(String partyName) {
        this.partyName = partyName;
    }

    public Date getPartyFoundTime() {
        return partyFoundTime;
    }

    public void setPartyFoundTime(Date partyFoundTime) {
        this.partyFoundTime = partyFoundTime;
    }

    public String getPartyDescription() {
        return partyDescription;
    }

    public void setPartyDescription(String partyDescription) {
        this.partyDescription = partyDescription;
    }

    public Integer getStuNum() {
        return stuNum;
    }

    public void setStuNum(Integer stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuGrade() {
        return stuGrade;
    }

    public void setStuGrade(Integer stuGrade) {
        this.stuGrade = stuGrade;
    }


    @Override
    public String toString() {
        return "PartyMemberPartyStudent{" +
                "partyMemberId=" + partyMemberId +
                ", partyInfoId=" + partyInfoId +
                ", teInfoId=" + teInfoId +
                ", stuInfoId=" + stuInfoId +
                ", partyMemberAccount=" + partyMemberAccount +
                ", partyMemberName='" + partyMemberName + '\'' +
                ", partyMemberType=" + partyMemberType +
                ", partyOrganizationNum=" + partyOrganizationNum +
                ", applyDate=" + applyDate +
                ", state=" + state +
                ", partyName='" + partyName + '\'' +
                ", partyFoundTime=" + partyFoundTime +
                ", partyDescription='" + partyDescription + '\'' +
                ", stuNum=" + stuNum +
                ", stuName='" + stuName + '\'' +
                ", stuSex=" + stuSex +
                ", stuGrade=" + stuGrade +
                ", stuBirthday=" + stuBirthday +
                ", stuNativeplace='" + stuNativeplace + '\'' +
                '}';
    }
}
